package com.ruoyi.system.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 安全规章制度表
 * </p>
 * @since 2023-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
//@TableName("safety_rules_regulations")
@ApiModel(value="SafetyRulesRegulations对象", description="安全规章制度表")
public class SafetyRulesRegulations implements Serializable {
    private static final long serialVersionUID=1L;
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "附件表ID")
    private String fileId;

    @ApiModelProperty(value = "文档类型")
    private String docType;

    @ApiModelProperty(value = "文档编码")
    private String docNumber;

    @ApiModelProperty(value = "文档名称")
    private String docName;

    @ApiModelProperty(value = "文档说明")
    private String docContent;

    @ApiModelProperty(value = "摘要")
    private String summary;

    @ApiModelProperty(value = "版本号")
    private String version;

    @ApiModelProperty(value = "是否现行（0是 1否）")
    private Integer isActive;

    @ApiModelProperty(value = "发布日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date publishDate;

    @ApiModelProperty(value = "发布部门ID")
    private Integer publishDeptId;

    @ApiModelProperty(value = "发布部门名称")
    private String publishDeptName;

    @ApiModelProperty(value = "适用部门ID")
    private Integer applyDeptId;

    @ApiModelProperty(value = "适用部门名称")
    private String applyDeptName;

    @ApiModelProperty(value = "评审日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reviewersDate;

    @ApiModelProperty(value = "评审人ID")
    private Integer reviewersId;

    @ApiModelProperty(value = "评审人名称")
    private String reviewersName;

    @ApiModelProperty(value = "参评人员ID")
    private Integer entryId;

    @ApiModelProperty(value = "参评人员名称")
    private String entryName;

    @ApiModelProperty(value = "启用日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date enableDate;

    @ApiModelProperty(value = "是否启用（0是 1否）")
    private Integer isEnable;

    @ApiModelProperty(value = "审核人ID")
    private Integer auditId;

    @ApiModelProperty(value = "审核人名称")
    private String auditName;

    @ApiModelProperty(value = "审核意见")
    private String auditOpinion;

    @ApiModelProperty(value = "逻辑删除标识 0删除 1正常")
    private Integer yn;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "更新人")
    private String updateUser;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private List<SafetyRulesRegulationsFile> rulesRegulationsFileList;
}
